<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use Modules\Slider\Entities\Slider;

class SliderController extends Controller
{
    //获取前台显示的轮播图数据
    public function slider(){
        sleep(1);
        return $this->response->array(Slider::where('is_show',1)->get());
    }
}
